package cn.cvs.service.impl;

import cn.cvs.dao.HandsetMapper;
import cn.cvs.pojo.Handset;
import cn.cvs.service.HandsetService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class HandsetServiceImpl implements HandsetService {
    @Autowired
    private HandsetMapper mapper;
    @Override
    public List<Handset> selectList() {
        return mapper.selectList();
    }

    @Override
    public Handset selectOne(int hsId) {
        return mapper.selectOne(hsId);
    }

    @Override
    public int del(int hsId) {
        return mapper.del(hsId);
    }
}
